package com.hzhq.contract.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: hzhq1255
 * @mail: hzhq1255@163.com
 * @date: 2021/4/18 23:49
 * @desc:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("ContractStatusVO")
public class ContractStatusVO {


    @ApiModelProperty(value = "statusId")
    private String statusId;
    @ApiModelProperty(value = "所属合同")
    private String contractId;
    @ApiModelProperty(value = "状态名称")
    private String statusName;
    @ApiModelProperty(value = "收付款金额")
    private BigDecimal payment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "收付款时间")
    private Date operateTime;
    @ApiModelProperty(value = "备注")
    private String desc;
    @ApiModelProperty(value = "删除状态")
    private Integer deleted;
}
